package com.yyds.service;

import com.yyds.common.MyJSON;
import com.yyds.common.R;
import com.yyds.pojo.NewsComments;
import com.yyds.vo.NewsCommentsVo;

import java.util.List;

public interface NewsCommentsService {
//    MyJSON<NewsComments> selectAllNewsCommentsService(NewsComments newsComments, Integer page, Integer limit);

    MyJSON<NewsCommentsVo> selectAllNewsCommentsService(NewsCommentsVo newsCommentsVo, Integer page, Integer limit);

    R deleteAllNewsCommentsService(List<NewsComments> list);

    R insertNewsCommentsService(NewsComments newsComments);

    R selectNewsCommentsService(Integer comments_id);


    R deleteNewsCommentsService(Integer comments_id);

    R updateNewsCommentsService(NewsComments newsComments);
}
